<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<h1 id="app">
    {{msg}}

</h1>

<script type="text/javascript">
    var app = new Vue({
        el:"#app",
        data:{
            msg:"hello world"
        },
        created(){
            console.log("this is created hook funtion" +this.msg)
            this.msg="Goodbye world";
            console.log(this);
        },
        updeted(){
            console.log("this is created hook funtion" +this.msg)
        }
    })
</script>

</body>
</html>